/**
 * Created by root on 17-4-8.
 */
var student = require("./student");
var teacher = require("./teacher");

teacher.add("Mike");

function add(teacherName, students) {
    teacher.add(teacherName);

    students.forEach(function (item, idex) {
        student.add(item);
    })
}

exports.add = add;